import Vue from 'vue'
import VueResource from 'vue-resource'
import store from '@/views/vuex/management'
Vue.use(VueResource)
export default {
  store,
  getdata() {
    Vue.http.post('api/getNewsList').then(
      res => {
        this.store.commit('chushua', { data: res.data.data })
        console.log(res.data.data, '1')
      },
      err => {
        console.log(err)
      }
    )
  }

}

